diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 19:03:03 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 19:10:06 +0100 |
| commit | 8c1fff45fb5340a338416586162ac247b2b190c0 (patch) | |
| tree | 849ae072e8efc8652d3045ae4ab3db30798f1a9b /src/pages/[locale] | |
| parent | 1118c377e32940ada179bfcde1549b73d8948626 (diff) | |
Uses TSConfig paths
Diffstat (limited to 'src/pages/[locale]')
5 files changed, 33 insertions, 33 deletions
diff --git a/src/pages/[locale]/furthsettins/index.astro b/src/pages/[locale]/furthsettins/index.astro index 256111f..11e39f1 100644 --- a/src/pages/[locale]/furthsettins/index.astro +++ b/src/pages/[locale]/furthsettins/index.astro @@ -1,10 +1,10 @@ --- -import Page from '../../../layouts/Page.astro'; -import localeStaticPaths from '../../../lib/localeStaticPaths'; -import translate from '../../../i18n/translate'; -import tFurthsettins from '../../../i18n/translations/pages/furthsettins'; -import tSite from '../../../i18n/translations/site'; -import type Locale from '../../../types/Locale'; +import Page from '$layouts/Page.astro'; +import localeStaticPaths from '$lib/localeStaticPaths'; +import translate from '$i18n/translate'; +import tFurthsettins from '$i18n/translations/pages/furthsettins'; +import tSite from '$i18n/translations/site'; +import type Locale from '$types/Locale'; export async function getStaticPaths() { return localeStaticPaths; diff --git a/src/pages/[locale]/furthsettins/lallans/[issueNumber]/index.astro b/src/pages/[locale]/furthsettins/lallans/[issueNumber]/index.astro index 876eab1..25da7e6 100644 --- a/src/pages/[locale]/furthsettins/lallans/[issueNumber]/index.astro +++ b/src/pages/[locale]/furthsettins/lallans/[issueNumber]/index.astro @@ -1,12 +1,12 @@ --- -import Page from '../../../../../layouts/Page.astro'; -import localeStaticPaths from '../../../../../lib/localeStaticPaths'; -import translate from '../../../../../i18n/translate'; -import tFurthsettins from '../../../../../i18n/translations/pages/furthsettins'; -import type Locale from '../../../../../types/Locale'; -import { getLallansIssue } from '../../../../../data/lallans'; -import type LallansIssueNumber from '../../../../../types/LallansIssueNumber'; -import LallansIssue from '../../../../../components/LallansIssue.astro'; +import Page from '$layouts/Page.astro'; +import localeStaticPaths from '$lib/localeStaticPaths'; +import translate from '$i18n/translate'; +import tFurthsettins from '$i18n/translations/pages/furthsettins'; +import type Locale from '$types/Locale'; +import { getLallansIssue } from '$data/lallans'; +import type LallansIssueNumber from '$types/LallansIssueNumber'; +import LallansIssue from '$components/LallansIssue.astro'; export async function getStaticPaths() { const lallansIssueNumbers = Object.keys(getLallansIssue) as `${LallansIssueNumber}`[]; diff --git a/src/pages/[locale]/furthsettins/lallans/[issueNumber]/payment-success-confirmation.astro b/src/pages/[locale]/furthsettins/lallans/[issueNumber]/payment-success-confirmation.astro index bd3ad87..72f07fc 100644 --- a/src/pages/[locale]/furthsettins/lallans/[issueNumber]/payment-success-confirmation.astro +++ b/src/pages/[locale]/furthsettins/lallans/[issueNumber]/payment-success-confirmation.astro @@ -1,11 +1,11 @@ --- -import Page from '../../../../../layouts/Page.astro'; -import localeStaticPaths from '../../../../../lib/localeStaticPaths'; -import translate from '../../../../../i18n/translate'; -import tPage from '../../../../../i18n/translations/pages/lallansIssuePaymentSuccessConfirmation'; -import type Locale from '../../../../../types/Locale'; -import { getLallansIssue } from '../../../../../data/lallans'; -import type LallansIssueNumber from '../../../../../types/LallansIssueNumber'; +import Page from '$layouts/Page.astro'; +import localeStaticPaths from '$lib/localeStaticPaths'; +import translate from '$i18n/translate'; +import tPage from '$i18n/translations/pages/lallansIssuePaymentSuccessConfirmation'; +import type Locale from '$types/Locale'; +import { getLallansIssue } from '$data/lallans'; +import type LallansIssueNumber from '$types/LallansIssueNumber'; export async function getStaticPaths() { const lallansIssueNumbers = Object.keys(getLallansIssue) as `${LallansIssueNumber}`[]; diff --git a/src/pages/[locale]/furthsettins/lallans/index.astro b/src/pages/[locale]/furthsettins/lallans/index.astro index f4cd94b..dffe141 100644 --- a/src/pages/[locale]/furthsettins/lallans/index.astro +++ b/src/pages/[locale]/furthsettins/lallans/index.astro @@ -1,10 +1,10 @@ --- -import Page from '../../../../layouts/Page.astro'; -import localeStaticPaths from '../..//../../lib/localeStaticPaths'; -import translate from '../../../../i18n/translate'; -import tFurthsettins from '../../../../i18n/translations/pages/furthsettins'; -import type Locale from '../../../../types/Locale'; -import LallansIssuesGallery from '../../../../components/LallansIssuesGallery.astro'; +import Page from '$layouts/Page.astro'; +import localeStaticPaths from '$lib/localeStaticPaths'; +import translate from '$i18n/translate'; +import tFurthsettins from '$i18n/translations/pages/furthsettins'; +import type Locale from '$types/Locale'; +import LallansIssuesGallery from '$components/LallansIssuesGallery.astro'; export async function getStaticPaths() { return localeStaticPaths; diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro index 8ae3a7b..b065e50 100644 --- a/src/pages/[locale]/index.astro +++ b/src/pages/[locale]/index.astro @@ -1,10 +1,10 @@ --- -import Page from '../../layouts/Page.astro'; -import localeStaticPaths from '../../lib/localeStaticPaths'; -import translate from '../../i18n/translate'; -import site from '../../i18n/translations/site'; -import home from '../../i18n/translations/pages/home'; -import type Locale from '../../types/Locale'; +import Page from '$layouts/Page.astro'; +import localeStaticPaths from '$lib/localeStaticPaths'; +import translate from '$i18n/translate'; +import site from '$i18n/translations/site'; +import home from '$i18n/translations/pages/home'; +import type Locale from '$types/Locale'; export async function getStaticPaths() { return localeStaticPaths; |
